//
//  Person.m
//  UITableView通讯录HomeWork
//
//  Created by dllo on 16/8/5.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "Person.h"

@implementation Person
- (instancetype)copyWithZone:(NSZone *)zone {
      Person *per = [[Person allocWithZone:zone]init];
      per.name = _name;
      per.Icon = _Icon;
      per.phoneNumber = _phoneNumber;
      per.address = _address;
      return per;

}

- (instancetype)initWithPersonName:(NSString *)name
                              Icon:(NSString *)icon
                       phoneNumber:(NSString *)phoneNumber
                           address:(NSString *)address {
      if (self = [super init]) {
            _name = name;
            _Icon = icon;
            _phoneNumber = phoneNumber;
            _address = address;
      }
      return self;
}
@end
